﻿using WebApplication1.Core.DataTransferObject;

namespace WebApplication1.Core.ServiceContracts {
    public interface ISheQuService {

        public Task<SheQuResponse?> GetSheQuBySheQuID(ushort? shequID);
        public Task<IEnumerable<SheQuResponse>?> GetSheQuByMingCheng(string? mingCheng);
        public Task<IEnumerable<SheQuResponse>> GetAllSheQu();

        public Task<SheQuResponse> AddSheQu(SheQuRequest? sheQuAddRequest);

        public Task<SheQuResponse?> UpdateSheQu(SheQuRequest? sheQuUpdateResponse);

        public Task<bool> DeleteSheQu(ushort? shequID);
    }
}
